export interface Menu {
	createBy: string
	createTime: string
	updateBy: string
	updateTime: string
	remark: string
	id: number
	menuName: string
	parentName: string
	parentId: number
	orderNum: number
	path: string
	component: string
	query: string
	routeName: string
	isFrame: string
	isCache: string
	menuType: string
	visible: string
	status: number
	perms: string
	icon: string
	children: Menu[]
}

export interface TreeMenu {
	disabled: boolean
	id: number
	label: string
	children: TreeMenu[]
}
export interface RoleMenu {
	checkedKeys: number[]
	menus: TreeMenu[]
}

export interface MenuParams {
	id?: number
	parentId?: number
	menuName?: string
	icon: string
	menuType?: string
	orderNum?: number
	isFrame?: string
	isCache?: string
	visible: string
	status: number
	routeName: string
	path: string
	component: string
	query: string
	perms: string
}
